package com.example;

/**
 * @desc:
 * @author: Shoko
 * @date: 2025/6/6
 */
public class Caretaker {
    private Memento memento;

    public void saveMemento(Memento memento) {
        this.memento = memento;
    }

    public Memento getMemento() {
        return memento;
    }
}
